package io.gitee.twoke.generator.engine.impl.persistence.entity.data.impl;

import io.gitee.twoke.generator.engine.impl.cfg.GenerateEngineConfigurationImpl;
import io.gitee.twoke.generator.engine.impl.persistence.TemplateDataManager;
import io.gitee.twoke.generator.engine.impl.persistence.entity.*;

public class MybatisTemplateDataManager extends AbstractDataManager<TemplateEntity> implements TemplateDataManager {

  public MybatisTemplateDataManager(GenerateEngineConfigurationImpl generateEngineConfiguration) {
    super(generateEngineConfiguration);
  }

  @Override
  public Class<? extends TemplateEntity> getManagedEntityClass() {
    return TemplateEntityImpl.class;
  }
  
  @Override
  public TemplateEntity create() {
    return new TemplateEntityImpl();
  }

}